* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

#Background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#Background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text h1 {
  color: white;
  font-size: 6rem;
  margin-top: 4rem;
  font-family: ahsing;
}

.logo {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
}

.logo img {
  width: 100%;
  height: auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 25px;
  height: 25px;
  border-bottom: 4px solid white;
  border-right: 4px solid white;
  z-index: 2;
}

/* Dropdown menu */
#burger-toggle {
  display: none;
}

.burger-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  z-index: 3;
  cursor: pointer;
}

.burger-icon img {
  width: 100%;
  height: 100%;
}

.dropdown-content {
  position: absolute;
  top: 90px;
  left: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 3;
}

#burger-toggle:checked + .burger-icon + .dropdown-content {
  display: block;
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
  color: #000;
  text-decoration: none;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #bddac2;
}

/* SPLIT SECTIONS */
.split-section {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  padding: 2rem;
  gap: 2rem;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-section .text,
.split-section .image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.split-section .text {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.split-section .content {
  max-width: 600px;
  width: 100%;
}

.split-section.green {
  background-color: #bddac2;
}

.split-section.white {
  background-color: white;
}

.split-section.green2 {
  background-color: #513622;
}

.split-section.white2 {
  background-color: white;
}

/* Billede styles */
.image1,
.image2,
.image3,
.image4{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px;
  width: 100%;
  min-height: 400px;
  margin: 1rem;
}

.image1 {
  background-image: url('Images/Ejer.png');
}

.image2 {
  background-image: url('Images/Recyle.png');
}

.image3 {
  background-image: url('Images/Vision.jpg');
}

.image4 {
  background-image: url('Images/Værdier.png');
}
/* Tekstformatering */
.split-section.green h2,
.split-section.white h2,
.split-section.green2 h2,
.split-section.white2 h2 {
  font-family: 'Montserrat', serif;
  font-size: 4rem;
  margin-bottom: -4rem;
}

.split-section.green p,
.split-section.white p,
.split-section.green2 p
.split-section.white2 p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Farver */
.split-section.green h2,
.split-section.green p {
  color: white;
}

.split-section.white h2,
.split-section.white p {
  color: #bddac2;
}

.split-section.green2 h2,
.split-section.green2 p {
  color: white;
}

.split-section.white2 h2,
.split-section.white2 p {
  color: #513622;
}




footer{
  display: flex;
  background-color:#bddac2 ;
  color: white;
  justify-content: space-evenly;
  padding: 2rem;
  position: relative;
  bottom: 0;
  width: 100%;
  min-height: 200px;
  

}

footer a{
  color: white;
  text-decoration: none;
  font-family: montserrat;

}

footer div {
  flex: 1;
  margin: 0 10px;
  text-align: center;
}

footer h2 {
  margin-bottom: 10px;
  font-family: Montserrat;
  text-align: center;
}

footer p {
  margin-top: 2.2rem;
  font-family: Montserrat;
  text-align: center;
}

footer img {
  max-width: 2rem;
}

footer form {
  display: flex;
  flex-direction: column;
}

footer form input {
  margin-bottom: 10px;
  font-family: Montserrat;
}

footer form button {
  background-color: White;
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 0.5rem;
  font-family: Montserrat;
}




/* RESPONSIVT DESIGN */
@media (max-width: 768px) {
  .split-section {
    flex-direction: column;
    height: auto;
    padding: 2rem;
  }
  .split-section.reverse {
    flex-direction: column;
  }

  .split-section .text,
  .split-section .image {
    width: 100%;
    padding: 1rem;
    margin: 0 auto;
  }

  .split-section .image {
    min-height: 500px;
    margin-bottom: 1rem;
  }
.split-section.green h2,
.split-section.reverse h2,
.split-section.green2 h2{
    font-size: 3rem;
  }

.split-section.green p {
    font-size: 1rem;
  }

  .split-section.reverse p{
    font-size: 1rem;
  }

  .text h1 {
    font-size: 2.5rem;
    margin-top: 6rem;
    padding: 1rem;
  }

  .logo {
    width: 80px;
    margin-top: -1rem;
  }

  .burger-icon {
    width: 50px;
    height: 50px;
  }


  footer{
    flex-direction: column;
    align-items: center;
    padding: 3rem;

}

footer div {
    margin:2rem 0;
    text-align: center;
}
}